SendbirdPushHelper

Functions

Link copied to clipboard

If you need to retrieve the current registration token you can call this.

Link copied to clipboard
fun isDuplicateMessage(remoteMessage: Any): Boolean

When you received message you can call this and can figure out whether this message is duplicated.

Link copied to clipboard

Mark push notification as clicked for push notification click tracking purpose only.

Link copied to clipboard

Mark push notification as delivered for push delivery tracking purpose only.
This does not mark the message as delivered.
Marking the message as delivered can be done by SendbirdChat.markAsDelivered.

Link copied to clipboard

Registers push handler for receiving FCM/HMS push notifications. To enable push notification and get a token, refer to Sendbird Docs.

Link copied to clipboard

Unregisters push handler for not receiving FCM/HMS push notifications. When you call this we will request at the server to remove FCM/HMS push token. And you'll not be able to receive any more push notification